package com.naiterui.ehp.bs.patient.repository;

import java.util.Collection;
import java.util.List;

import org.springframework.stereotype.Repository;

import com.naiterui.common.repository.core.BaseJpaRepository;
import com.naiterui.ehp.bp.domain.DoctorCharge;

/**
 * <pre>
 * 医生诊费设置持久化实现
 * </pre>
 *
 * @author fangguanhong
 * @date 2020/4/9 下午5:49
 * @since 1.0.0
 */
@Repository
public interface IApDoctorChargeRepository extends BaseJpaRepository<DoctorCharge, Long> {

    DoctorCharge findFirstByDoctorIdAndChargeType(Long doctorId, int chargeType);

    List<DoctorCharge> findByDoctorIdInAndChargeType(Collection<Long> doctorId, int chargeType);
}
